package com.dragon.english_practice_back.mapper;

import com.dragon.english_practice_back.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 伫倚
* @description 针对表【role】的数据库操作Mapper
* @createDate 2025-03-01 01:23:34
* @Entity com.example.english_practice_back.entity.Role
*/
public interface RoleMapper extends BaseMapper<Role> {
    List<String> roleStringsByUserId(int id);


    int setUserRole(int UserId);

    List<Role> rolesByUserId(int userId);
}




